package com.duan.user.service;

import com.duan.user.pojo.Address;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.Page;

import java.util.List;

/**
* @author lenovo
* @description 针对表【duan_address】的数据库操作Service
* @createDate 2024-08-08 17:33:51
*/
public interface AddressService extends IService<Address> {
    /**
     * 查询全部
     * @return
     */
    List<Address> selectAll();

    List<Address> selectList(Address address);

    Integer insert(Address address);

    Integer delete(String ids);

    Integer update(Address address);

    Page<Address> pageAll(Integer page, Integer size);

    Page<Address> pageList(Address address, Integer page, Integer size);
}
